package com.java.star.mall.front.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单VO类
 */
@Data
public class OrderVO implements Serializable {

    private static final long serialVersionUID = -1122542135079600167L;

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    //订单号
    @ApiModelProperty(value = "订单号")
    private String orderSn;

    //应付金额
    @ApiModelProperty(value = "应付金额")
    private BigDecimal payAmount;

    //物流单号
    @ApiModelProperty(value = "物流单号")
    private String deliverySn;

    @ApiModelProperty(value = "收货人名")
    private String receiverName;

    @ApiModelProperty(value = "收货人电话")
    private String receiverPhone;

    @ApiModelProperty(value = "省份")
    private String receiverProvince;

    @ApiModelProperty(value = "城市")
    private String receiverCity;

    @ApiModelProperty(value = "地区")
    private String receiverDistrict;

    @ApiModelProperty(value = "街道")
    private String receiverTown;

    @ApiModelProperty(value = "地标")
    private String receiverLandmark;

    @ApiModelProperty(value = "订单状态", notes = "0待付款，1待发货，2已发货，3已完成，4已评价，5已关闭")
    private String status;

    @ApiModelProperty(value = "支付时间")
    private Date paymentTime;

    //收货时间
    @ApiModelProperty(value = "收货时间")
    private Date receiveTime;

    //创建时间
    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

}
